<h1>Schedule New Game</h1>

<div class="form">
  <%= error_messages_for :schedule -%>

  <fieldset>
  <legend>Enter Game Details</legend>
  <% form_for :schedule, :url => { :action => "create" } do |form| %>

    <%= render :partial => 'form', :object => form %>

    <%= submit_tag "Create", :class => "submit" %> &nbsp;
    <%= link_to "cancel", { :action => "index" }, :class => "cancel" %>
  <% end %>
  </fieldset>
</div>
